package com.jumi.microservice.controller.admin;

import com.jumi.microservice.dto.reissue.ReissueCheckRequest;
import com.jumi.microservice.service.admin.AdminReissueServiceImpl;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author scw
 * @date 2020/10/7
 */
@Api(tags = {"后台售后管理--补发审核接口"})
@RestController
@RequestMapping("/reissueClient")
public class AdminReissueExtController {
    @Resource
    private AdminReissueServiceImpl adminReissueServiceImpl;

    @PostMapping(value = "/checkReissue")
    @ApiOperation("补发审核")
    public Boolean checkReissue(ReissueCheckRequest reissueCheckRequest) {
        return adminReissueServiceImpl.checkReissue(reissueCheckRequest);
    }
}
